#USB Control for Jarvis
cm19a = None

#Connection Variables
stream = ""
connected = False
connectivity = None;

#Sequence Information
flapseq = 1
seq = 1


buddyName = ""

#Error lists
errors = ["0008"]
errorCodes = ["0005", "0018"]
errorMessages = ["Bad screename/password combination", "Account Locked: Too many failed log-in attempts"]

#Capability lists
services = []
capabilities = [["15", "1"], ["13", "4"],["b", "1"], ["a", "1"],["9","1"], ["8", "1"],["4","1"], ["3","1"],["2","1"],["1","3"]]

#Force in order reciept
rateACK = False
capACK = False
listACK = False

#ID flap
firstFam = 0
firstType = 0

#rate
rates = []

#message error
msgErrorCodes=["0004", "0010"]
msgErrors=["User currently not logged in", "User has blocked you"]
msgCookie = 1

#lists management
buddyList = []
groupList = []
iidList = []
wipeList = True

#Reading info
smartRead = False
extra = None

#List of offline messages
offlineMessages = []


